package org.apache.dolphinscheduler.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.dolphinscheduler.dao.entity.NodeRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NodeRelationMapper extends BaseMapper<NodeRelation> {
    List<NodeRelation> selectByNodeId(@Param("nodeId") int nodeId);

    List<NodeRelation> selectNodeIdByNextNodeId(@Param("nextNodeId") int nextNodeId);
}
